<?php
$this->breadcrumbs = array(
    'Contact',
);
?>
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/lightbox.css" type="text/css" media="screen" />
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/prototype.js" type="text/javascript"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/lightbox.js" type="text/javascript"></script>
<table width="940" border="0" cellspacing="0" cellpadding="0" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/contact.png) left top no-repeat;">
    <tr>
        <td colspan="2" style="height:100px;">&nbsp;</td>
    </tr>
    <tr>
        <td width="905" align="center" valign="top" ><table width="920" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="291" valign="top"><table id="Table_" width="230" height="255" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                                <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                                <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                            </tr>
                            <tr >
                                <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;" width="31">&nbsp;</td>
                                <td align="left" valign="top" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;">
                                    <a href="<?php echo Yii::app()->request->baseUrl; ?>/images/map.jpg"  rel="lightbox">
                                        <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/map.jpg" width="300" />
                                    </a>
                                    <br />
                                </td>
                                <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                            </tr>
                            <tr>
                                <td  width="31" height="33" ><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" /></td>
                                <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33"></td>
                                <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                            </tr>
                        </table>
                    </td>
                    <td width="629" align="left" valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="0">
                            <tr>
                                <td><table id="Table_2" width="100%" height="155" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                                            <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                                        </tr>
                                        <tr >
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;" width="31">&nbsp;</td>
                                            <td align="left" valign="top" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;">
                                                <table width="100%" border="0" cellspacing="3" cellpadding="3">
                                                    <tr>
                                                        <td width="28%">
                                                            <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/logo.png" width="130" height="90" />
                                                        </td>
                                                        <td width="72%">
                                                            L.X. ELECTRONICS<br>
                                                            1/11 Bangnathani Tower<br>
                                                            5B Soi Bangna-Trad 34<br>
                                                            Bangna Bangkok 10260<br>
                                                            Tel. 02-3613870-2
                                                        </td>
                                                    </tr>
                                                </table>
                                                <!-- Another Address Here -->
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                                        </tr>
                                        <tr>
                                            <td  width="31" height="33" ><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" /></td>
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33"></td>
                                            <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td><table id="Table_3" width="100%" height="155" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                                            <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                                        </tr>
                                        <tr >
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;" width="31">&nbsp;</td>
                                            <td align="left" valign="top" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;">
                                                <table width="100%" border="0" cellspacing="3" cellpadding="3">
                                                    <tr>
                                                        <td width="28%">Contact Form</td>
                                                        <td width="72%">&nbsp;</td>
                                                    </tr>
                                                </table>
                                                <br />

                                                <? $link = "http://" . Yii::app()->request->getServerName() . Yii::app()->request->baseUrl . "/index.php/contact" ?>
                                                <form name="sendMail" action='<? echo $link ?>' method="post">
                                                    <table width="100%" border="0" cellspacing="6" cellpadding="0">
                                                        <tr>
                                                            <td width="30%" align="right">Name :&nbsp;</td>
                                                            <td width="70%">
                                                                <input type="text" name="name" id="name" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">Email&nbsp;: &nbsp;</td>
                                                            <td><input type="text" name="email" id="email" /></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">Massage : &nbsp;</td>
                                                            <td><textarea name="message" id="message" cols="45" rows="5"></textarea></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="right">&nbsp;</td>
                                                            <td><input type="submit" name="button" id="button" value="Submit" /></td>
                                                        </tr>
                                                    </table>
                                                </form>
                                            </td>
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                                        </tr>
                                        <tr>
                                            <td  width="31" height="33" >
                                                <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" />
                                            </td>
                                            <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33">
                                            </td>
                                            <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>